<{include file="header.tpl"}>

    <div class="comBox">

       <div class="comTable">


        <div class="comTable">
            <div class="hideCont" style="display:block;">

                <div class="comTable">


            <form id="searchForm" name="searchForm" method="get" action="">
                <table width="100%" border="0" cellpadding="0" cellspacing="1" id="table" class="search_tab tab_pad">
                    <tbody>
                    <input type="hidden" name="ct" value="<{request_em key='ct'}>" />
                    <input type="hidden" name="ac" value="<{request_em key='ac'}>" />
                        <tr>
                            <td>
                                书名：<input type="text" name="book_name" id=""  value="<{$book_name}>"/>
                                <input type="submit" name='submit'value="查询" class="sub" />
                                <input type="submit" name='submit' value="查询并保存" class="sub" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<{$alert}>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
        
            <table width="100%" border="0" cellpadding="0" cellspacing="1" id="table" class="sort_table tab_pad">
                <thead>
                    <tr bgcolor="#dde7ee" align="center">
                        <th width=""><a href="javascript:">书名</a></th>
                        <th width=""><a href="javascript:">服务器ID</a></th>
                    </tr>
                </thead>
                <tbody>
                  <{if !empty($list) }>
                    <{foreach from=$list key=k item=v }>
                    <tr bgcolor="<{if ($k mod 2) == 0}>#FFFFFF<{else}>#EEF2FB<{/if}>" onmouseover="cor = this.style.backgroundColor; this.style.backgroundColor='#00CCFF';" onmouseout="this.style.backgroundColor=cor;">
                        <td nowrap="nowrap" style="text-align:center" ><{$v.book_name}></td>
                        <td nowrap="nowrap" style="text-align:center" ><{$v.book_id}></td>
                       <!--
                       <td nowrap="nowrap" style="text-align:center" >
                            <a href="<v.add_book>">采集到表</a>
                            <a href="<.add_bookandsend}>">采集到表且请求发送</a>
                         </td>
                        -->
                    </tr>
                    <{/foreach}>
                  <{/if}>
                </tbody>
                    <tr>
                        <td colspan="12" align="center" bgcolor="#FFFFFF"></td>
                    </tr>
            </table>


            </div>
        </div>
    </div>
     </div>
</div>


<div id="searchTips" title="温馨提示" style="color:green;display:none;">
    <p></p>
</div>


<script>
    function search(){
        alert("<{$alert}>");
    }

</script>

<{include file="footer.tpl"}>
